/*
 * @Author: 李天惊 uf_lee@163.com
 * @Date: 2022-08-15 16:45:25
 * @LastEditors: 李天惊 uf_lee@163.com
 * @LastEditTime: 2025-03-24 13:50:38
 * @FilePath: \global-brain\global-brain-admin\src\config\axios\config.ts
 * Copyright (c) 2022 by 李天惊 uf_lee@163.com, All Rights Reserved.
 */
const config: {
  result_code: number | string
  overdue_code: number | string
  default_headers: AxiosHeaders
  request_timeout: number
} = {
  /**
   * 接口成功返回状态码
   */
  result_code: '200',

  /**
   * 接口token预期验证失败状态码
   */
  overdue_code: '401',

  /**
   * 接口请求超时时间
   */
  request_timeout: 60000,

  /**
   * 默认接口请求类型
   * 可选值：application/x-www-form-urlencoded multipart/form-data
   */
  default_headers: 'application/json'
}

export { config }
